home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 44
/
Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso
/
-serious-
/
-commercial-
/
pp71b_68020
/
install
< prev
next >
Wrap
Text File
|
1999-07-12
|
2KB
|
59 lines
; $VER: InstallPP71B_CPU_Update 1.0
; Cloanto PPaint 7.1b CPU Update Installer Script
; Copyright © 1996, 1997, 1999 Cloanto Italia srl
; Cloanto is a registered trademark of Cloanto Italia srl
; "Installer and Installer project icon Copyright © 1991-1993 Commodore-Amiga, Inc. All Rights Reserved
; Reproduced and distributed under license from Commodore"
; New installer icon design Copyright © 1994 Cloanto Italia srl
(set #which-dir
"Please indicate the directory where Personal Paint 7.1b is installed:")
(set #which-dir-help
(cat "\nThis program updates the 68000 version of the \"PPaint\" 7.1b program file to a version optimized for 68020 and higher CPUs."
"\n\nPlease specify the full path of the installed Personal "
"Paint software, including the final \"PPaint\" directory name "
"(or other, if a different drawer name was used).\n\n"
@askdir-help))
(set #message-ppaintnotok
"\nThis update was not designed for the selected Personal Paint program file. It will not be updated. See the Readme for additional information.")
(set #error-ppaint
"\nPersonal Paint 7.1b program file could not be found. It will not be updated.")
(set #busy-ppaint
"Updating Personal Paint 7.1b program file.")
(if (AND (<> (getassign "PSUITEROOT" "a") "") (<> (getassign "KARACDROOT" "a") "")) (set ppaint_dest "") (set ppaint_dest (getassign "PPaint" "a")))
(if (<> (getassign "PCDPPAINT" "a") "") (set ppaint_dest (getassign "PCDPPAINT" "a")))
(if (AND (<> (getdevice ppaint_dest)(getdevice "RAM:"))(< (getdiskspace ppaint_dest) 10240)) (set ppaint_dest ""))
(if (= ppaint_dest "") (set ppaint_dest @default-dest))
(set ppaint_dest (askdir
(prompt #which-dir)
(help #which-dir-help)
(default ppaint_dest)
(newpath)
))
(set target1 (tackon ppaint_dest "PPaint"))
(if (<> (exists target1) 1) (if (= (exists target1) 2) (set ppaint_dest target1)))
(set @default-dest ppaint_dest)
(set target1 (tackon ppaint_dest "PPaint"))
(if (<> (exists target1) 1) (message #error-ppaint) (
(if (<> (getsize target1) 684996) (message #message-ppaintnotok) (
(if (= (getsize target1) 684996) (
(working #busy-ppaint)
(set runstring (cat "spatch >NIL: <NIL: \"-o" target1 "\" -p68000to68020.pch \"" target1 "\""))
(run runstring)
))
(exit)
))
))
(exit (quiet))